package com.demo.log4j;

import org.apache.log4j.Logger;

//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;

public class Log4jTest {
    static final Logger logger = Logger.getLogger(Log4jTest.class);
//    static final Logger logger = LoggerFactory.getLogger(Log4jTest.class);
    public static void main(String[] args) {
        logger.info("log4j demo");
    }
}
